<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>bmi</title>
</head>
<body>
<center>
    <h1>BMI计算</h1>
    <form action="/bmi">
        <table border="2">
            <tr>
                <td>体重（单位为kg）</td>
                <td><input type="text" name="weight"></td>
              <td>身高（单位为m）</td>
              <td><input type="text" name="height"></td>
            </tr>
            <tr>
                <td colspan="7" align="center">
                    <input type="submit" value="计算" >
                </td>
            </tr>
        </table>
    </form>
</center>
</body>
</html>